package com.hspedu.try_;

import java.util.Arrays;

/**
 * @author DL5O
 * @version 1.0
 */
public class Array01 {

    public static void main(String[] args) {
        int[] nums = {1,1,2,2,3,4,5,6};
        removeDuplicates(nums);
    }

    public static void removeDuplicates(int[] nums) {
        int cnt = 0;
        for (int right = 1 ; right < nums.length ; right++){
            if(nums[right] == nums[right-1]){
                cnt++;//有重复的
            }else{

            }
        }

    }
}
